package com.bestsoft.baseinfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestsoft.common.annotation.Excel;
import com.bestsoft.common.core.domain.BaseEntity;

/**
 * 商品资料对象1 flow_goods_doc
 * 
 * @author1 王识宇
 * @date 2023-09-19
 */
public class BaseInfoGoods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商品ID */
    private Long goodid;

    /** 用户ID */
    private Long userId;

    /** 部门ID */
    @Excel(name = "部门ID")
    private Long deptId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    private String entname;

    /** 商品编号 */
    private String goodscode;

    /** 商品名称 */
    private String goodsname;

    /** 商品规格 */
    private String goodsspec;

    /** 生产厂家 */
    private String manufacturer;

    /** 商品产地 */
    private String place;

    /** 单位 */
    private String unit;

    /** 展示图片 */
    private String piclink;

    public void setGoodid(Long goodid) 
    {
        this.goodid = goodid;
    }

    public Long getGoodid() 
    {
        return goodid;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setEntname(String entname) 
    {
        this.entname = entname;
    }

    public String getEntname() 
    {
        return entname;
    }
    public void setGoodscode(String goodscode) 
    {
        this.goodscode = goodscode;
    }

    public String getGoodscode() 
    {
        return goodscode;
    }
    public void setGoodsname(String goodsname) 
    {
        this.goodsname = goodsname;
    }

    public String getGoodsname() 
    {
        return goodsname;
    }
    public void setGoodsspec(String goodsspec) 
    {
        this.goodsspec = goodsspec;
    }

    public String getGoodsspec() 
    {
        return goodsspec;
    }
    public void setManufacturer(String manufacturer) 
    {
        this.manufacturer = manufacturer;
    }

    public String getManufacturer() 
    {
        return manufacturer;
    }
    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setPiclink(String piclink) 
    {
        this.piclink = piclink;
    }

    public String getPiclink() 
    {
        return piclink;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("goodid", getGoodid())
            .append("userId", getUserId())
            .append("deptId", getDeptId())
            .append("entname", getEntname())
            .append("goodscode", getGoodscode())
            .append("goodsname", getGoodsname())
            .append("goodsspec", getGoodsspec())
            .append("manufacturer", getManufacturer())
            .append("place", getPlace())
            .append("unit", getUnit())
            .append("remark", getRemark())
            .append("piclink", getPiclink())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
